package com.cqust.wdm.emsboot.domain;


import com.cqust.wdm.emsboot.util.BaseEntity;
import com.cqust.wdm.emsboot.util.annotation.Excel;
import lombok.Getter;
import lombok.Setter;


/**
 * 仓库信息对象 ems_product
 *
 * @author 1

 */
@Getter
@Setter
public class Product extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;
    @Excel(name = "名称")
    private String name;

    private Long categoryId;
    @Excel(name = "备注")
    private String note;
    @Excel(name = "类别")
    private String categoryName;

    private Integer state;
    @Excel(name = "库存最小值")
    private Long minimum;

    @Excel(name = "库存最大值")
    private Long maximum;
    @Excel(name = "库存")
    private Long balance;

    @Override
    public String toString() {
        return com.alibaba.fastjson.JSON.toJSONString(this);
    }
}
